package cn.cdqf.mapper;

import cn.cdqf.bean.Statistics;
import cn.cdqf.bean.TDepart;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface DepartMapper {
    List<TDepart> queryDepart(@Param("pageStart") int pageStart,@Param("pageSize") int pageSize);

    int addDepart(TDepart tDepart);

    int deleteDepart(@Param("id") Integer id);

    TDepart queryDepartById(Integer id);

    int updateDepart(@Param("id") Integer id,@Param("name") String name,@Param("createtime") String createtime);

    List<TDepart> getDeparts();



    int getTotalCount();


}
